<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script src="js/My97DatePicker/WdatePicker.js">
     
      function back(){
        history.go(-1);  
      }
      
</script>
<title>任务详细页面</title>
</head>
<body>
<form>
<!--  ${taskquery.task_id }  -->
     <table width="100%" border="1">
    <tr>
        <th>任务标题</th>
        <th>分组</th>
        <th>组员</th>
        <th>提醒方式</th>
        <th>提醒类型</th>
        <th>生效状态</th>
        <th>周期类型</th>
        <th>提醒时间</th>           
        <th>开始时间</th>
        <th>结束时间</th>
        
      
    </tr>
    <c:forEach items="${obj.tasklist}" var="tasklist" varStatus="s">
        <tr>

            <td align="center">${tasklist.task_name}</td>
            <td align="center">${tasklist.group_name}</td>
            <td align="center">${tasklist.member_name}</td>
            <td align="center">
            <c:choose>
            <c:when test="${tasklist.rem_way=='0'}">邮件</c:when>
            <c:when test="${tasklist.rem_way=='1'}">短信</c:when>
            <c:otherwise>邮件和短信</c:otherwise>
            </c:choose>
            </td>
            <td align="center">
            <c:choose>
            <c:when test="${tasklist.rem_type=='0'}">单次</c:when>
            <c:when test="${tasklist.rem_type=='1'}">周期</c:when>
            </c:choose>
            </td>
            <td align="center">
            <c:choose>
            <c:when test="${tasklist.rem_status=='0'}">无效</c:when>
            <c:when test="${tasklist.rem_status=='1'}">有效</c:when>
            </c:choose>
            </td>
            
            <td align="center">
            <c:choose>
            <c:when test="${tasklist.cycle_type=='0'}">按天</c:when>
            <c:when test="${tasklist.cycle_type=='1'}">按周</c:when>
            <c:when test="${tasklist.cycle_type=='2'}">按月</c:when>
            <c:otherwise>-</c:otherwise>
            </c:choose>
            </td>
            
            <td align="center">${tasklist.rem_first_time}</td> 
            <td align="center">${tasklist.rem_start_date}</td>
            <td align="center">${tasklist.rem_end_date}</td>
  
        </tr>
    </c:forEach>
</table>
  <input type="button" value="返回" onclick="back();">


</form>
</body>
</html>